<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>dil.doc.DDocHTML</title>
  <link href="html.css" rel="stylesheet" type="text/css">
</head>
<body>
<table><tr>
<td class="linescolumn"><a id="L1" href="#L1">1</a><a id="L2" href="#L2">2</a><a id="L3" href="#L3">3</a><a id="L4" href="#L4">4</a><a id="L5" href="#L5">5</a><a id="L6" href="#L6">6</a><a id="L7" href="#L7">7</a><a id="L8" href="#L8">8</a><a id="L9" href="#L9">9</a><a id="L10" href="#L10">10</a><a id="L11" href="#L11">11</a><a id="L12" href="#L12">12</a><a id="L13" href="#L13">13</a><a id="L14" href="#L14">14</a><a id="L15" href="#L15">15</a><a id="L16" href="#L16">16</a><a id="L17" href="#L17">17</a><a id="L18" href="#L18">18</a><a id="L19" href="#L19">19</a><a id="L20" href="#L20">20</a><a id="L21" href="#L21">21</a><a id="L22" href="#L22">22</a></td>
<td><td><pre class="sourcecode">
<span class="lc">/// Author: Aziz Köksal</span>
<span class="lc">/// License: GPL3</span>
<span class="lc">/// $(Maturity high)</span>
<span class="d Compound"><span class="d Module"><span class="k">module</span> <span class="i">dil</span>.<span class="i">doc</span>.<span class="i">DDocHTML</span>;</span>

<span class="d Import"><span class="k">import</span> <span class="i">dil</span>.<span class="i">doc</span>.<span class="i">DDocEmitter</span>;</span>
<span class="d Import"><span class="k">import</span> <span class="i">dil</span>.<span class="i">doc</span>.<span class="i">Macro</span>;</span>
<span class="d Import"><span class="k">import</span> <span class="i">dil</span>.<span class="i">semantic</span>.<span class="i">Module</span>;</span>
<span class="d Import"><span class="k">import</span> <span class="i">dil</span>.<span class="i">Highlighter</span>;</span>
<span class="d Import"><span class="k">import</span> <span class="i">common</span>;</span>

<span class="lc">/// Traverses the syntax tree and writes DDoc macros to a string buffer.</span>
<span class="d Class"><span class="k">class</span> <span class="i">DDocHTMLEmitter</span> : <span class="t BaseClass"><span class="t Identifier"><span class="i">DDocEmitter</span></span></span>
<span class="d Compound">{
  <span class="lc">/// Constructs a DDocHTMLEmitter object.</span>
  <span class="d Constructor"><span class="k">this</span><span class="o Parameters">(<span class="o Parameter"><span class="t Identifier"><span class="i">Module</span></span> <span class="i">modul</span></span>, <span class="o Parameter"><span class="t Identifier"><span class="i">MacroTable</span></span> <span class="i">mtable</span></span>, <span class="o Parameter"><span class="t Integral"><span class="k">bool</span></span> <span class="i">includeUndocumented</span></span>,
       <span class="o Parameter"><span class="t Identifier"><span class="i">TokenHighlighter</span></span> <span class="i">tokenHL</span></span>)</span>
  <span class="s FuncBody"><span class="s Compound">{
    <span class="s Expression"><span class="e Call"><span class="e Super"><span class="k">super</span></span>(<span class="i">modul</span>, <span class="i">mtable</span>, <span class="i">includeUndocumented</span>, <span class="i">tokenHL</span>)</span>;</span>
  }</span></span></span>
}</span></span></span>

</pre></td>
</tr></table>
</body>
</html>